package cn.itsource.product.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.product.domain.Product;

import java.util.List;

public interface IProductService extends IBaseService<Product>{
    //批量上架
    void onSale(List<Product> products);
    //批量下架
    void offSale(List<Product> products);
    //通过id查询对应的服务对象
    Product findProductById(Long id);
}
